@extends('layouts.app')

@section('title', '加盟申请')

@section('css-import')
<style type="text/css">
	.page-s{
		display: inline-block;
		padding-bottom: 0px;
		margin: 29px 9px;
		border-radius: 4px;
		float:  right;
	}
	.clearboth{
		clear: both;
	}
	.clearleft{
		clear: left;
	}
	.clearright{
		clear: left;
	}
	.col{
		display: inline-block;
		max-width:33%;
		float: left;
	}
	.clone-model-feedback{
		display: none;
	}
</style>
@endsection

@section('content-fluid')
<div class="row">
	
			<div class="col">
				@foreach($feedbacks['col1'] as $k=>$v)
				<div class="col-md-12 clearboth">
					<!-- PANEL WITH FOOTER -->
					<div class="panel" style="min-width: 250px;">
						<div class="panel-heading">
							<h3 class="panel-title">{{$v->name}}</h3>
							<div class="right" data-feedbackid="">
								<button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button>
								<button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button>
								<button type="button" class="btn-sign"><i class="lnr lnr-bookmark"></i></button>
							</div>
						</div>
						<div class="panel-body">
							<p>{{$v->sketch}}</p>
						</div>
						<div class="panel-footer">
							<h5>{{$v->email}}</h5>
						</div>
					</div>
					<!-- END PANEL WITH FOOTER -->
				</div>
				@endforeach
			</div>
			<div class="col">
				@foreach($feedbacks['col2'] as $k=>$v)
				<div class="col-md-12 clearboth">
					<!-- PANEL WITH FOOTER -->
					<div class="panel" style="min-width: 250px;">
						<div class="panel-heading">
							<h3 class="panel-title">{{$v->name}}</h3>
							<div class="right" data-feedbackid="">
								<button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button>
								<button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button>
								<button type="button" class="btn-sign"><i class="lnr lnr-bookmark"></i></button>
							</div>
						</div>
						<div class="panel-body">
							<p>{{$v->sketch}}</p>
						</div>
						<div class="panel-footer">
							<h5>{{$v->email}}</h5>
						</div>
					</div>
					<!-- END PANEL WITH FOOTER -->
				</div>
				@endforeach
			</div>
			<div class="col">
				@foreach($feedbacks['col3'] as $k=>$v)
				<div class="col-md-12 clearboth">
					<!-- PANEL WITH FOOTER -->
					<div class="panel" style="min-width: 250px;">
						<div class="panel-heading">
							<h3 class="panel-title">{{$v->name}}</h3>
							<div class="right" data-feedbackid="">
								<button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button>
								<button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button>
								<button type="button" class="btn-sign"><i class="lnr lnr-bookmark"></i></button>
							</div>
						</div>
						<div class="panel-body">
							<p>{{$v->sketch}}</p>
						</div>
						<div class="panel-footer">
							<h5>{{$v->email}}</h5>
						</div>
					</div>
					<!-- END PANEL WITH FOOTER -->
				</div>
				@endforeach
			</div>
			
</div>
{{$page->links()}}
<div class="page-s">本页共{{ $page->count() }}条</div>
<div class="page-s">共{{ $page->total() }}条</div>
<div class="page-s">当前第{{ $page->currentPage() }}页</div>
<div class="page-s">共{{ $page->lastPage() }}页</div>
@endsection

